package com.atguigu;

import redis.clients.jedis.Jedis;

/**
 * @author wk
 * @create 2021-06-15 21:00
 */
public class TestRedis {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("192.168.57.129",6379);
        jedis.set("key2","value2");
        System.out.println(jedis.ping());
        jedis.close();
    }
}
